package com.order.mapper;

import com.usian.order.OrderUser;
import com.usian.user.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM tb_user WHERE id = #{id}")
    OrderUser selectUserById(Integer userId);
    @Select("select * from tb_user where id=#{userId}")
    User selectById(Integer userId);
}
